﻿@page
<!DOCTYPE html>
<html>
<head>
    <title>IO写入性能测试</title>
    <link href="~/css/site.css" rel="stylesheet" />
</head>
<body>
    <div class="nav">
        <a href="FileStream">System.IO.FileStream性能测试</a>
        <a href="MemoryMappedFile">System.IO.MemoryMappedFiles.MemoryMappedFile性能测试</a>
    </div>
    <div>结论：System.IO.MemoryMappedFiles.MemoryMappedFile写入1G文件只需要4-5秒，System.IO.FileStream需要10-13秒。</div>
</body>
</html>